package com.sftz.assets.entities;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import com.uxuexi.core.common.util.DateTimeUtil;

@Data
@Table("institution_course_category")
public class InstitutionCourseCategoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("机构id")
	private String className;

	@Column
	@Comment("是否删除")
	private Integer isDelete;

	@Column
	@Comment("创建者的id")
	private Integer userid;

	@Column
	@Comment("排序")
	private Integer ord;

	@Column
	@Comment("创建时间")
	private Date createDate = DateTimeUtil.nowDate();

	@Column
	@Comment("系列id")
	private Integer seriesId;

	@Column
	@Comment("是否为空")
	private Integer isTypeEmpty;

	@Column
	@Comment("选修必修")
	private Integer isRequired;

}